package com.tdrc.common.beans;

/**
 * @author dpf
 * @version 1.0
 * @date 2020-4-1 11:08
 * @instruction 用户表
 */
public class User {
    /**
     * 用户ID
     */
    private Integer userId;
    /**
     * 用户名称
     */
    private String userName;
    /**
     * 单位ID
     */
    private Integer unitId;
    /**
     * 登录名
     */
    private String logName;
    /**
     * 密码
     */
    private String password;
    /**
     * 是否启用0否1是
     */
    private Integer status;
    /**
     * 描述
     */
    private String describe;
    /**
     * 头像
     */
    private String avatar;
    /**
     * 创建时间
     */
    private String createTime;
    /**
     * 创建用户
     */
    private Integer createUserId;
    /**
     * 用户类别
     */
    private Integer userType;
    /**
     * 用户token
     */
    private String token;

    public User(){

    }

    public User(Integer userId, String userName, Integer unitId, String logName, String password, Integer status, String describe, String avatar, String createTime, Integer createUserId, Integer userType) {
        this.userId = userId;
        this.userName = userName;
        this.unitId = unitId;
        this.logName = logName;
        this.password = password;
        this.status = status;
        this.describe = describe;
        this.avatar = avatar;
        this.createTime = createTime;
        this.createUserId = createUserId;
        this.userType = userType;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getUnitId() {
        return unitId;
    }

    public void setUnitId(Integer unitId) {
        this.unitId = unitId;
    }

    public String getLogName() {
        return logName;
    }

    public void setLogName(String logName) {
        this.logName = logName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }
    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}
